From ea662dd2f26a839b76a939211516dc398fc56816 Mon Sep 17 00:00:00 2001 From: Joan Torres Lopez Date: Thu, 12 Feb 2026 16:38:54 +0100 Subject: [PATCH] unlockDialog: Wait for authPrompt destruction before switching VT When switching to another user, wait until authPrompt is destroyed and the clock transition animation completes before switching to the login session VT. Part-of: (cherry picked from commit 5f7eb76031dc795a593e859566f519a458a81698) --- js/ui/unlockDialog.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/ui/unlockDialog.js b/js/ui/unlockDialog.js index 971438a7c..0d4d79833 100644 --- a/js/ui/unlockDialog.js +++ b/js/ui/unlockDialog.js @@ -899,8 +899,7 @@ export const UnlockDialog = GObject.registerClass({ } _otherUserClicked() { - Gdm.goto_login_session_sync(null); - + this._authPrompt.connect('destroy', () => Gdm.goto_login_session_sync(null)); this._authPrompt.cancel(); } -- 2.39.5